package com.sky.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.entity.AddressBook;

import java.util.List;


public interface AddressBookService extends IService<AddressBook>{
    public List<AddressBook> getAddressBookLists();

    public void addAddressBook(AddressBook addressBook);

    public void setDefaultAddressBook(Long id);

    public AddressBook selectDefaultAddressBook();

    public AddressBook getAddressBookInfoById(Long id);
    public void modifyAddressBook(AddressBook addressBook);

    public void deleteAddressBookById(Long id);
}
